package com.yzpass.api.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.UUID;

import com.yzpass.api.common.db.UUIDTypeHandler;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * <p>
 * 
 * </p>
 *
 * @author junfeng
 * @since 2025-01-22
 */
@Getter
@Setter
@ToString
@TableName("yu_role")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("role_id")
    @TableField(typeHandler = UUIDTypeHandler.class)
    private UUID roleId;

    private String roleName;

    private String note;

    private Boolean disable;

    private String createBy;

    private LocalDateTime createTime;

    private String updateBy;

    private LocalDateTime updateTime;
    private Boolean isSys;
}
